package com.zhuiYun.project.api.order.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @ClassName SubmitOrderVo
 * @Description TODO 提交订单实体类
 * @Author lzy
 * @Date 2023/4/7 8:39
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SubmitOrderVo {


    /**
     * 商品的数组
     */
    private String productArr;

    /**
     * 商品id,number数组
     */
    private BigDecimal commodityAmountTotal;

    /**
     * 订单金额
     */
    private BigDecimal orderAmountTotal;

    /**
     * 购买人
     */
    private Integer userId;

    /**
     * 订单支付渠道
     */
    private Integer payModeId;

    /**
     * 收货地址主键
     */
    private Integer addressId;

    /**
     * 运费
     */
    private BigDecimal freight;





    /**
     * Rabbit MQ 消费成功唯一标识
     */
    private String successFlag;

}
